package com.ys.jenkins.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yhh 2021-08-24 22:44:52
 **/
@RequestMapping("/test")
@RestController
public class TestController {
    private static final org.slf4j.Logger LOGGER = org.slf4j.LoggerFactory.getLogger(TestController.class);

    @GetMapping("/1")
    public String demo(String test) {
        LOGGER.info("test : {}", test);
        return "hello,world";
    }

}
